#define addc(cname) class cname {headerType = -1;}
class cfgFunctions {
	version = 3.0;
	createShortcuts = 1;
	class Dom {
		tag = "d";
		class Dom_Client {
			file = "x_client\x_f";
			addc(greytext);
			addc(redtext);
			addc(bluetext);
			addc(playerhd);
			addc(playerspawn);
			addc(x_dlgopen);
			addc(prespawned);
			addc(spawn_mash);
			addc(spawn_mgnest);
			addc(spawn_trench);
			addc(spawn_farp);
			addc(kickplayerbasefired);
			addc(addhudmsg);
			addc(huddispmsgengine);
			addc(huddispmsg);
			addc(mousewheelrec);
			addc(adminspectateactionm);
			addc(domcommandingmenuexec);
			addc(createdomusermenu);
			addc(keydowncommandingmenu);
			addc(chop_hudsp);
			addc(vec_hudsp);
			addc(playervectrans);
			addc(playerveccheck);
			addc(mhqcheckneartarget);
			addc(vehiclescripts);
			addc(startclientscripts);
			addc(chopper_welcome2);
			addc(teleupdate_dlg);
			addc(vec_welcome_message);
			addc(sidechat);
			addc(kbsidechat);
			addc(groupchat);
			addc(vehiclechat);
			addc(hqchat);
			addc(removelinebreak);
			addc(hintchatmsg);
			addc(handlemessage);
			addc(fixheadbug);
			addc(getranjumppoint);
			addc(handleheal);
			addc(extractmagvals);
			addc(getloadedmags);
			addc(getmagsandmuzzles);
			addc(save_respawngear);
			addc(retrieve_respawngear);
			addc(retrieve_layoutgear);
			addc(ispilotcheck);
			addc(filldropedbox);
			addc(create_boxnet);
			addc(jet_service_facnet);
			addc(chopper_service_facnet);
			addc(wreck_repair_facnet);
			addc(ataxinet);
			addc(dattention);
			addc(player_stuff);
			addc(dropansw);
			addc(mhqdeplnet);
			addc(intel_updnet);
			addc(sfunc);
			addc(ffunc);
			addc(placedobjan);
			addc(recapturedupdate);
			addc(playerrank);
			addc(getrankindex);
			addc(getrankindex2);
			addc(getrankstring);
			addc(getrankfromscore);
			addc(getrankpic);
			addc(baseenemies);
			addc(xfacction);
			addc(progbarcall);
			addc(paraexploithandler);
			addc(lightobj);
			addc(x_xmarkervehicles);
			addc(x_xmarkerplayers);
			addc(x_xai_markers);
			addc(showstatus);
			addc(settingsdialog);
			addc(x_dropammoboxd);
			addc(x_loaddropped);
			addc(x_deploymhq);
			addc(x_teleport);
			addc(beam_tele);
			addc(x_update_target);
			addc(checktrucktrans);
			addc(checkhelipilot);
			addc(checkhelipilot_wreck);
			addc(checkhelipilotout);
			addc(checkenterer);
			addc(checkdriver);
			addc(infotext);
			addc(initvec);
			addc(lockc);
			addc(save_layoutgear);
			addc(clear_layoutgear);
			addc(getbackpack);
			addc(artillery);
			addc(calldrop);
			addc(sethud);
			addc(vecdialog);
			addc(chalo);
			addc(rebuildsupport);
			addc(heli_action);
			addc(heli_release);
			addc(bike);
			addc(recruitaiaction);
			addc(restoreeng);
			addc(searchbody);
			addc(flipatv);
			addc(repanalyze);
			addc(repengineer);
			addc(backpack);
			addc(nostreaming);
			addc(newflagclient);
			addc(helilift);
			addc(helilift_wreck);
			addc(createnexttargetclient);
			addc(target_clear_client);
			addc(deleteplayermarker);
			addc(moveai);
			addc(airtaxi);
			addc(makeuav);
			addc(haschemlight);
			addc(attachchemlight);
			addc(detachchemlight);
			addc(chopperdoors);
			// TYRGHEN
			addc(afunc);
			addc(init_boxnet);
			addc(keydown_handler);
			addc(keyup_handler);
			addc(kickplayerbasefiredvehicle);
			addc(getloadedmags2);
			addc(extractmagvals2);
			addc(createtyrusermenu);
			addc(ispara);
			addc(isadmin);
			addc(createprioritytargetclient);
		};
		class Dom_PerFrame {
			file = "x_client\x_f\x_perframe";
			addc(addperframe);
			addc(removeperframe);
			addc(perframe);
		};
		class Dom_UI {
			file = "x_client\x_f\x_ui";
			addc(initartydlg);
			addc(artytypeselchanged);
			addc(artymapclick);
			addc(firearty);
			addc(glselchanged);
			addc(blselchanged);
			addc(take_backpack);
			addc(pmselchanged);
			addc(showsidemain_d);
			addc(admindialog);
			addc(adselchanged);
			addc(vdsliderchanged);
			addc(adminspectate);
			addc(fillunload);
			addc(fillbackpacks);
			addc(unloadsetcargo);
			addc(x_create_vec);
			addc(fillrecruit);
			addc(recruitbuttonaction);
			addc(dismissbuttonaction);
			addc(dismissallbuttonaction);
			addc(squadmanagementfill);
			addc(squadmgmtlockbuttonclicked);
			addc(squadmgmtbuttonclicked);
			addc(squadmgmtlbchanged);
			addc(squadmgmtlblostfocus);
			addc(requestplayerstats);
			addc(createpstatsdialog);
			addc(geardialog);
			addc(closegeardialog);
			addc(initgeardialog);
			addc(geardialogselchanged);
			//TYRGHEN
			addc(adminendside);
		};
		class Dom_Common_Net {
			file = "x_common\x_f\x_net";
			addc(netaddevent);
			addc(netaddeventcts);
			addc(netaddeventsto);
			addc(netaddeventtoclients);
			addc(netremoveevent);
			addc(netremoveeventcts);
			addc(netremoveeventsto);
			addc(netremoveeventservtoclients);
			addc(netrunevent);
			addc(netruneventcts);
			addc(netruneventsto);
			addc(netruneventtoclients);
			addc(netcallevent);
			addc(netcalleventcts);
			addc(netcalleventsto);
			addc(netcalleventtoclients);
			addc(netsetjip);
			addc(localcallevent);
		};
		class Dom_Common {
			file = "x_common\x_f";
			addc(kbsendmsgall);
			addc(kbsendmsgunit);
			addc(kbusename);
			addc(subselect);
			addc(arrayinsert);
			addc(returnvehicleturrets);
			addc(returnconfigentry);
			addc(mhqfunc);
			addc(converttime);
			addc(checkshc);
			addc(removenvgoggles);
			addc(hasnvgoggles);
			addc(arraypushstack);
			addc(arraypushstack2);
			addc(randomfloor);
			addc(randomarray);
			addc(randomindexarray);
			addc(getconfiggroup);
			addc(dirtoobj);
			addc(dirtopos);
			addc(randomfloorarray);
			addc(randomarrayval);
			addc(randomceil);
			addc(playersnumber);
			addc(getrandomrange);
			addc(getrandomrangeint);
			addc(arraycompare);
			addc(getheight);
			addc(setheight);
			addc(setaslheight);
			addc(setatlheight);
			addc(getdisplayname);
			addc(getslope);
			addc(createmarkerglobal);
			addc(createmarkerlocal);
			addc(getaliveunits);
			addc(getaliveunitsgrp);
			addc(getalivecrew);
			addc(getvehicleempty);
			addc(getallalive);
			addc(dirto);
			addc(dirto2x);
			addc(bdirto);
			addc(getparachuteside);
			addc(createtrigger);
			addc(linemaker);
			addc(linemaker2);
			addc(posbehind);
			addc(posbehind2);
			addc(getgroup);
			addc(sortar);
			addc(isveclocked);
			addc(worldboundscheck);
			addc(getranpointcircle);
			addc(getranpointcirclenoslope);
			addc(getranpointcircleold);
			addc(getranpointcirclebig);
			addc(getranpointcircleouter);
			addc(getranpointsquare);
			addc(getranpointsquareold);
			addc(getranpointsquareouter);
			addc(getranpointouterair);
			addc(getlinepoints);
			addc(intrigger);
			addc(endswith);
			addc(animendswith);
			addc(checkveckillblufor);
			addc(checkveckillopfor);
			addc(reload);
			addc(x_checkkill);
			addc(x_checkkillblufor);
			addc(x_checkkillopfor);
			addc(mpcheck);
			addc(getenemyflagtex);
			addc(removefak);
			addc(disdeadvec);
			addc(tjetservice);
			addc(tchopservice);
			addc(tvecservice);
			// TYRGHEN
			addc(isbinocular);
			addc(getownflagtex);
			addc(nearestObjType);
			addc(nearestObjTypes);
			addc(reloadInstant);
			addc(findwater);
			addc(getranpointcircleair);
			addc(isgrenade);
			addc(addInsignia);
			addc(removetech);
			addc(getranpointcirclebigouter);
			addc(getranpointcircleairouter);
		};
		class Dom_Msg {
			file = "x_msg";
			addc(xsendmsgsysmsg);
			addc(player_name_huddo);
			addc(dosshowhuddo2spawn);
			addc(player_name_huddo2);
			addc(pnselchanged);
			addc(pmmsgselchanged);
			addc(pmrecchanged);
			addc(pmrsendchanged);
			addc(showmsg_dialog);
		};
		class Dom_ext_Scripts {
			file = "scripts";
			addc(hcamcontrol);
			addc(mando_chute);
			addc(satelittenposf);
			addc(satellitenbildd);
			addc(load_static);
			addc(unload_static);
			addc(unflipVehicle);
			addc(hcam_ui_init);
		};
		class Dom_KBTell {
			file = "x_bikb";
			addc(kehflogic);
		};
		class Dom_SMMissions {
			file = "x_missions";
			addc(checksmshothd);
			addc(killedsmtargetnormal);
			addc(addsmpoints);
			addc(killedsmtarget500);
			addc(addkilledehsm);
			addc(getsidemissionclient);
			addc(sidemissionwinner);
			addc(getsidemission);
			addc(sidempkilled);
		};
		class Dom_SMMissions_Common {
			file = "x_missions\common";
			addc(sidearrest);
			addc(sidearti);
			addc(sidearti2);
			addc(sideconvoy);
			addc(sideevac);
			addc(sidefactory);
			addc(sidefactory2);
			addc(sideflag);
			addc(sideprisoners);
			addc(sidespecops);
			addc(sidespecops2);
			addc(sidesteal);
			addc(sidetanks);
			addc(sidetroopconvoy);
			addc(sidewatersteal);
			addc(sidewaterconvoy);
			addc(sideammoconvoy);
			addc(sidearmourconvoy);
			addc(sideairsteal);
			addc(delivercontainer);
			addc(clearlandmines);
			addc(clearnavalmines);
		};
		class Dom_Server {
			file = "x_server\x_f";
			addc(paddaikillpoints);
			addc(paddhumkillpoints);
			addc(paddcarkillpoints);
			addc(paddapckillpoints);
			addc(paddtankkillpoints);
			addc(addkillsai);
			addc(getwreck);
			addc(placedobjkilled);
			addc(addkills);
			addc(addpoints);
			addc(getplayerarray);
			addc(tkkickcheck);
			addc(kickplayerbs);
			addc(rptmsgbs);
			addc(admindeltks);
			addc(addplayerscore);
			addc(getplayerstats);
			addc(getadminarray);
			addc(changerlifes);
			addc(remabox);
			addc(createdroppedbox);
			addc(createmhqenemyteletrig);
			addc(removemhqenemyteletrig);
			addc(tkr);
			addc(fuelCheck);
			addc(dokbmsg);
			addc(facrebuild);
			addc(createplayerbike);
			addc(paddplanekillpoints);
			addc(paddchopperkillpoints);
			addc(paddradiotowerkillpoints);
			addc(paddmtobjkillpoints);
			addc(paddsmresolvedpoints);
			addc(paddunconkilledpoints);
			addc(paddteamkillpoints);
			addc(servergetplayerstats);
			addc(checktransport);
			addc(vehirespawn);
			addc(vehirespawn2);
			addc(arifire);
			addc(x_fackilled);
			addc(radarkilled);
			addc(markercheck);
			addc(serveropc);
			addc(serveropd);
			addc(storeadd);
			addc(storeget);
			addc(wreckmarker2);
			addc(domend);
			addc(airtaxiserver);
			addc(createdrop);
			addc(getbonus);
			addc(createnexttarget);
			addc(target_clear);
			addc(createjumpflag);
			addc(gettargetbonus);
			addc(pshootatarti);
			addc(createrandomtargets);
		};
		class Dom_SHC {
			file = "x_shc\x_f";
			addc(addtoclean);
			addc(shootari);
			addc(spawnvehicle);
			addc(spawncrew);
			addc(taskdefend);
			addc(makegroup);
			addc(objectmapper);
			addc(createpara3x);
			addc(setgstate);
			addc(hcaddvec);
			addc(creategroup);
			addc(getwparray);
			addc(getwparray2);
			addc(getwparray3);
			addc(getunitliste);
			addc(getmixedliste);
			addc(handledeadvec);
			addc(makevgroup);
			addc(makemgroup);
			addc(createinf);
			addc(createarmor);
			addc(checknextwf);
			addc(outofbounds);
			addc(makepatrolwpx);
			addc(makepatrolwpx2);
			addc(delvecandcrew);
			addc(takewfwp);
			addc(guardwp);
			addc(attackwp);
			addc(setunitcode);
			addc(getnearestbuilding);
			addc(searchnearby);
			addc(grmakesearch);
			addc(getenemyflagtype);
			addc(ttaddkeh);
			addc(getownflagtype);
			addc(getsideflagtype);
			addc(selectcrew);
			addc(sidemissionresolved);
			addc(checkmtshothd);
			addc(checkmthardtarget);
			addc(getsmtargetmessage);
			addc(mtsmtargetkilled);
			addc(airmarkermove);
			addc(isledefmarkermove);
			addc(make_isle_grp);
			addc(counterattack);
			addc(createmaintarget);
			addc(createpara2);
			addc(docreatenexttarget);
			addc(dorecapture);
			addc(minefield);
			addc(createsecondary);
			addc(handleobservers);
			addc(handleattackgroups);
			addc(sabotage);
			//TYRGHEN
			addc(checkmtsidehd);
			addc(createreinf);
			addc(createfootmen);
			addc(createvehicle);
			addc(taskhomed);
			addc(mineroads);
			addc(shootarivec);
			addc(scriptedreactions);
			addc(scriptedvecreactions);
		};
		class Dom_Halo {
			file = "AAHALO\f";
			addc(paraj);
			addc(pjump);
		};
		class Dom_PrePostInit {
			file = "x_init";
			class preinit {
				preInit = 1;
				headerType = -1;
			};
			class postinit {
				postInit = 1;
				headerType = -1;
			};
		};
	};
	class KEGsSpect {
		tag = "KEGs";
		class Dom_Spect {
			file = "spect";
			addc(spectate_events);
			addc(menucamslbchange);
			addc(arraypushstack);
			addc(missilcamrun);
			addc(markerdel);
			addc(markerupdateev);
			addc(markerdel2);
			addc(barsremove);
			addc(togmapf);
			addc(getmcol);
			addc(checkoriginalside);
			addc(updatemarkers);
			addc(hmousebuttons);
			addc(checku);
			addc(updatelb);
			addc(checknew);
		};
	};
	class Dom_Revive {
		tag = "xr";
		class Dom_Revivexr {
			file = "x_revive\xr_f";
			addc(createmarkerglobal);
			addc(createmarkerlocal);
			addc(dirto);
			addc(handlenet);
			addc(handlenet2);
			addc(killedeh);
			addc(respawneh);
			addc(checkrespawn);
			addc(cpr);
			addc(addmarker);
			addc(movemarker);
			addc(closespectcontrols);
			addc(getslope);
			addc(doslope);
			addc(dorevive);
			addc(khunckeyesc);
			addc(keyboardhandlerkeydown);
			addc(weaprespawn1);
			addc(weaprespawn2);
			addc(mapclickrespawn);
			addc(joingr);
			addc(onmapsingleclickresp);
			addc(mapclickrespawn2);
			addc(onmapsingleclickresp2);
			addc(resp_dlg_helper);
			addc(waterfix);
			addc(targetsslbchange);
			addc(mousedownclickedloop);
			addc(dlgevents);
			addc(spectating);
			addc(addactions);
			addc(removeactions);
			addc(respawn_markers);
			addc(deleterespmarkers);
			addc(mobrespavailable);
			addc(animaterespmarkers);
			addc(park_player);
			addc(uncon);
			addc(clienthd);
			addc(makeuncon);
			addc(dragkeydown);
			addc(drag);
			addc(dragkeydownprone);
			addc(dragprone);
			addc(pllbupdater);
			addc(dodrag);
			addc(cdorevive);
			//addc(cancelrevive);
			addc(drop_body);
			addc(carry);
			addc(selfheal);
		};
	};
	#include <tmf\cfgFunctions.hpp>
};